#include <stdio.h>
#include <string.h>
int main(int argc, char** argv)
{
	char a[10] = {0};
	memcpy(a,"nam-14232",strlen("nam-14232"));
	char b[10] = {0};

	memcpy(b, a+4, strlen(a)-4);
	printf("%s\n",b);
	printf("%d\n",atoi(b));
	return 0;
}
